package com.weixing.mall.core.properties;

import com.weixing.mall.base.constant.GlobalConstant;
import com.weixing.mall.core.properties.ali.AliProperties;
import com.weixing.mall.core.properties.ali.ImgProperties;
import com.weixing.mall.core.properties.task.AsyncTaskProperties;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/7/24 14:14
 * @Modified By:
 */
@Data
@ConfigurationProperties(prefix = GlobalConstant.ROOT_PREFIX_PROPERTY)
@Configuration
@RefreshScope
public class WeiXingProperties {
    private SwaggerProperties swagger;
    private AliProperties ali;
    private AsyncTaskProperties task;
}